hvm/vpt: Check that an irq is not blocked before waking the vcpu
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Mar 2009 13:50:45 +0000 (13:50 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Mar 2009 13:50:45 +0000 (13:50 +0000)
commit4720717da59bf8d4ea2852bf7b7caa99959f554d
treedb621067e8b06dca8f576ec8c6f7fa5ff56e356d
parent6874f240997b2ec2a1398a91bca529a11929b017
hvm/vpt: Check that an irq is not blocked before waking the vcpu

Currently, when a timer fires for a vpt interrupt, the interrupt
handler calls vcpu_kick() without checking to see if the IRQ is
blocked.  This causes the vcpu to wake up out of a halt when it
shouldn't.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
xen/arch/x86/hvm/vpt.c